var webService = getWebSevice();
var apiUrl = webService + 'liyunqin/api.php';
//获取服务域名
function getWebSevice()
{
	var url = location.href;
	var position = url.indexOf('/',7);
	var webService = url.substring(0,position+1);
	return webService;
}